package com.android.task4;

public class MapModel {
	protected TileSource tileSource;
	protected int maxZoomLevel;
	protected int minZoomLevel;
	protected int defaultZoomLevel;
	protected String cachePrefix;

	public TileSource getTileSource() {
		return this.tileSource;
	}

	public void setTileSource(TileSource tileSource) {
		this.tileSource = tileSource;
		this.maxZoomLevel = tileSource.mMaxZoomLevel;
		this.minZoomLevel = tileSource.mMinZoomLevel;
		this.defaultZoomLevel = tileSource.mDefaultZoomLevel;
		this.cachePrefix = tileSource.mCachePrefix;
	}

	public int getMaxZoomLevel() {
		return this.maxZoomLevel;
	}

	public int getMinZoomLevel() {
		return this.minZoomLevel;
	}

	public int getDefaultZoomLevel() {
		return this.defaultZoomLevel;
	}

	public String getCachePrefix() {
		return this.cachePrefix;
	}
}

